import {request} from "@/api/request";
export function getCategory() {
  return request({
    url:`/api/goods`
  })
}
export function getCategoryGoods(orders='sales',cid=0,page=1){
  return request({
    url:`/api/goods?category_id=`+cid+'&page='+page+'&'+orders+'=1'
  })
}
